﻿<UserControl x:Class="DeltaGroup.WheelOfJeopardy.UI.Screens.FreeTurnScreen"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Commands="clr-namespace:DeltaGroup.WheelOfJeopardy.UI.Commands" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" HorizontalAlignment="Center" VerticalAlignment="Center">
    <UserControl.CommandBindings>
       
        <CommandBinding Command="Commands:WoJCommands.StayInTurn" CanExecute="CanExec" />
        <CommandBinding Command="Commands:WoJCommands.ForfeitTurn" CanExecute="CanExec"/>
    </UserControl.CommandBindings>
    <StackPanel  >
        <TextBlock Text="You are about to lose your turn" Style="{StaticResource Title}"/>
        <TextBlock Text="Do you want to use a Free Turn to stay in turn?" HorizontalAlignment="Center" Style="{StaticResource Title}"/>
        <TextBlock Text="Remaining" Style="{StaticResource Title}"/>
        <TextBlock Text="{Binding Path=Remaining}" Style="{StaticResource Title}"/>

        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Content="Yes" Command="Commands:WoJCommands.StayInTurn" Style="{StaticResource GameMenu}"/>
            <Button Content="No" Command="Commands:WoJCommands.ForfeitTurn" Style="{StaticResource GameMenu}"/>
        </StackPanel>
    </StackPanel>
</UserControl>
